package com.second.model.dto.storeInfo;

import lombok.Data;

import java.io.Serializable;

/**
 * 本类用来演示: 店铺的各个评分项的平均值
 *
 * @author: MuTing
 * @date: 2022-05-08 14:45
 */
public class FShopFractionDto implements Serializable {

    private Integer shopId;

    private Double score;

    private Double flavor;

    private Double environment;

    private Double service;

    public FShopFractionDto() {
    }

    public FShopFractionDto(Integer shopId, Double score, Double flavor, Double environment, Double service) {
        this.shopId = shopId;
        this.score = score;
        this.flavor = flavor;
        this.environment = environment;
        this.service = service;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Double getFlavor() {
        return flavor;
    }

    public void setFlavor(Double flavor) {
        this.flavor = flavor;
    }

    public Double getEnvironment() {
        return environment;
    }

    public void setEnvironment(Double environment) {
        this.environment = environment;
    }

    public Double getService() {
        return service;
    }

    public void setService(Double service) {
        this.service = service;
    }

    @Override
    public String toString() {
        return "FShopOverallRating{" +
                "shopId=" + shopId +
                ", score=" + score +
                ", flavor=" + flavor +
                ", environment=" + environment +
                ", service=" + service +
                '}';
    }
}
